<?php
require_once('configure.php'); 
$query = "
SELECT kompetensi_label FROM  kompetensi 
WHERE  kompetensi_label LIKE '{$_GET['q']}%'  
";
 
$res = my_query($query);
 
while( $rw=my_fetch_array($res) ){
echo strtoupper($rw['kompetensi_label'])."\n";
}
exit;
?>